ALTER TABLE TABLE2 ALTER COLUMN ID2 DROP DEFAULT SET GENERATED AS IDENTITY ( START WITH 0 INCREMENT BY 1 NO CACHE ) ;
多于一个时报错:
SQL0372N A column with data type or attribute ROWID, IDENTITY, security label, or row change timestamp can only be specified once for a table.
【俊哥儿张】生成列和标识列 实例详解 http://www.itpub.net/thread-1093099-1-1.html
http://blog.csdn.net/ben0133/archive/2010/09/03/5861924.aspx
DB2 PrimaryKey 主键操作SQL总结 <->
// Proudly powered by Apache, PHP, MySQL, WordPress, Bootstrap, etc,.